<template>
  <el-row>
    <el-col :span="6">
        <span>账号 :    {{name}}</span>      <span>角色  :    {{role}}</span>
      <el-input v-model="password" placeholder="请输入新密码"></el-input>
      <el-input v-model="newPassword" placeholder="请输入确认新密"></el-input>
      <el-button type="success">确认修改</el-button>
    </el-col>
  </el-row>
</template>

<script>
export default {
  data() {
    return {
      password: "",
      newPassword: "",
      name:'张三',
      role:'主管'
    };
  },
};
</script>

<style lang="scss" scoped>
::v-deep{
    .el-input{
    margin: 20px;
  }
  .el-button{
      margin: 20px 0 0 20px;
  }
}
span{
    margin-top: 20px;
}
span:nth-child(1){
    margin-left: 20px;
}
span:nth-child(2){
    margin-left: 100px;
}
</style>